package com.jy.adscm.operation.cgxsb.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author yyy
 * @since 2019-01-10
 */
@TableName("base_taskinfo")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class CgxsTaskinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "tid", type = IdType.UUID)
    private String tid;
    private Long tcode;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date fbsj;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date tssj;
    private Integer rwlx;
    private String khxx;
    @TableField(exist = false)
    private String khxxName;
    private String bzry;
    @TableField(exist = false)
    private String bzryname;

    private String fzry;
    @TableField(exist = false)
    private String fzryName;
    private Integer hwzt;
    private Integer hkzt;
    private Integer fpzt;
    private Integer rwzt;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date wcsj;
    @TableField(exist = false)
    private String cwryName;
    private String cwry;
    @TableField(exist = false)
    private String kfryName;
    private String kfry;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date sfhsj;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date sfksj;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date ksfpsj;
    private Integer rwwczt;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date sfhrq;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date sfkrq;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date ksfprq;
    @TableField(exist = false)
    private String xsryName;
    private String xsry;
    private Integer isproviderstockup;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startstockuptime;
    private Integer ischeckupgoods;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date checkuptime;
    private Integer isproviderdeliver;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date providerdelivertime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date planpaytime;
    private String productbatch;
    private String invoicenums;
    private String ordernums;
    private String productbatchs;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date plandelivertime;
    private String days;
    private String goodsname;
    private Double invoicesum;
    private Double sum;

    @TableField("makeNo")
    private String makeNo;
    @TableField("needDate")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private  Date needDate;
    /**
     * 付款方式
     */
    @TableField("paymentMethod")
    private String paymentMethod;

}
